﻿@import "[default].parameters.css";


.listbox-accordion {
    position: relative;
}

    .listbox-accordion .centered-icon {
        display: none;
    }

    .listbox-accordion h2 {
        margin-top: 1rem;
        font-size: 1.8rem;
    }

    .listbox-accordion .wrapper {
        position: relative;
        transition: 0.3s;
        padding: 0;
        z-index: 1;
    }

        .listbox-accordion .wrapper .showmore {
            font-size: 5rem;
            text-decoration: none;
            line-height: 2.5rem;
        }

        .listbox-accordion .wrapper .box {
            padding: 1rem 0;
        }

        .listbox-accordion .wrapper .content {
            padding: 0 1rem 1rem 1rem;
        }

        .listbox-accordion .wrapper .content .icon {
            max-width: 75px;
        }

        .listbox-accordion .wrapper .content p {
            text-align: center;
            margin: 0;
            padding: 0;
        }

@media screen and (min-width: 992px) {
    .listbox-accordion .wrapper .box {
        padding: 6.5rem 0;
    }

    .listbox-accordion .wrapper .more {
        display: none;
    }

    .listbox-accordion .wrapper .content {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        color: var(--surface-white);
        z-index: 9;
        padding: 5rem;
        display: none;
        transition: 0.3s;
    }

    .listbox-accordion .centered-icon {
        position: absolute;
        z-index: 9;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: none;
    }

    .listbox-accordion .wrapper:hover .content {
        display: flex;
    }

    .listbox-accordion .wrapper:nth-child(odd) {
        border-bottom: 12px solid var(--surface-white);
        border-right: 6px solid var(--surface-white);
    }

    .listbox-accordion .wrapper:nth-child(even) {
        border-bottom: 12px solid var(--surface-white);
        border-left: 6px solid var(--surface-white);
    }

    .listbox-accordion .wrapper:nth-last-child(-n+2) {
        border-bottom: 0 !important;
    }
}


/* HOMEPAGE CATEGORIES */
.categories-listbox .wrapper {
    position: relative;
    transition: 0.3s;
}

.categories-listbox h3 {
    text-transform: lowercase;
}

.categories-listbox .wrapper a.box {
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--surface-white);
    min-height: 350px;
}

    .categories-listbox .wrapper a.box:hover {
        text-decoration: none;
    }

.categories-listbox .wrapper .content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: var(--surface-white);
    z-index: 9;
    padding: 5rem;
    display: none;
    transition: 0.3s;
}

    .categories-listbox .wrapper .content .icon {
        max-width: 80px;
        margin-bottom: 2rem;
    }

    .categories-listbox .wrapper .content p {
        max-width: 500px;
        text-align: center;
        margin: 0;
    }

.categories-listbox .wrapper a .icon {
    max-width: 100px;
    margin-bottom: 1rem;
}

.categories-listbox .wrapper .content div.text {
    margin: 2rem 0;
}

@media screen and (min-width: 992px) {
    .categories-listbox .wrapper a.box {
        min-height: 550px;
    }

    .categories-listbox .wrapper:hover .content {
        display: flex;
    }

    .categories-listbox .wrapper:nth-child(odd) {
        border-bottom: 12px solid var(--surface-white);
        border-right: 6px solid var(--surface-white);
    }

    .categories-listbox .wrapper:nth-child(even) {
        border-bottom: 12px solid var(--surface-white);
        border-left: 6px solid var(--surface-white);
    }

    .categories-listbox .wrapper:nth-last-child(-n+2) {
        border-bottom: 0 !important;
    }
}

/* BOX HOVER */

.hover-box {
    position: relative;
}

    .hover-box .content {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        color: var(--surface-white);
        z-index: 9;
        padding: 5rem;
        display: none;
        transition: 0.3s;
        background-color: var(--surface-black);
    }

@media screen and (min-width: 992px) {
    .hover-box:hover .content {
        display: flex;
    }
}